<textarea id="logpanel" style="height: 650px;" name="data[code]">
<?php
//echo $form->textarea('code',array('value'=>$config,'style'=>'height:450px;','id'=>'logpanel'));
foreach ($config as $line)
{
	echo utf8_encode($line)."\n";
}
//echo (utf8_encode($config));
?>
</textarea>